package com.crm.jdy.common.dto;

import com.crm.jdy.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WConInfoDto  extends PageVO implements Serializable {

    private static final long serialVersionUID = 16181892934L;

    @ApiModelProperty(name = "conId" , value = "仓库主键id")
    private String conId;

    @ApiModelProperty(name = "conName" , value = "仓库名称")
    private String conName;

    @ApiModelProperty(name = "conAddr" , value = "仓库地址")
    private String conAddr;

    @ApiModelProperty(name = "conStatus" , value = "状态")
    private String conStatus;

    @ApiModelProperty(name = "conCrePerson" , value = "创建人")
    private String conCrePerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime" , value = "更新人")
    private Date updateTime;

    @ApiModelProperty(name = "isDelete" , value = "0正常 1删除")
    private Integer isDelete;

    @ApiModelProperty(name = "parentId" , value = "")
    private String parentId;
}
